eca2163961ca281244fd2ce33b4c8e54669940fc,plugins/android-designer/src/com/intellij/android/designer/model/RadSingleChildrenViewLayout.java,RadSingleChildrenViewLayout,processChildOperation,#OperationContext#,28
Before Change
if (myContainer.getChildren().isEmpty() &&
(context.isCreate() || context.isPaste() || context.isAdd()) &&
context.getComponents().size() == 1) {
if (context.isTree()) {
return new TreeDropToOperation(myContainer, context);
}
return new DropToOperation(myContainer, context);
After Change
if (myContainer.getChildren().isEmpty() &&
(context.isCreate() || context.isPaste() || context.isAdd()) &&
context.getComponents().size() == 1) {
if (context.isTree()) {
if (TreeEditOperation.isTarget(myContainer, context)) {
return new TreeDropToOperation(myContainer, context);
}
return null;
}
return new DropToOperation(myContainer, context);
}